PHP SoapClient enable debug
1. Add trace attribute to SoapClient when intialize it.
$soapclient = new SoapClient( $soapurl, array(‘trace’ => 1) );
2. Add the following 2 methods after making a soap call
echo $soapclient->__getLastRequest();
echo $soapclient->__getLastResponse() ;